package com.cndym.dao;

import com.cndym.utils.hibernate.PageBean;

import java.util.List;
import java.util.Map;


public interface IFillByYYDao  {
	
    public boolean isOneByTradeId(Object o,String tradeId,String sid,String platform);
	
	//通用
	public boolean save(Object o);
	public boolean saveAllObject(List l);
	public void update(Object o);
	 
	public List getListBySQL(String sql);
	public List getListBySQL(String sql,Object[] param);
	public void updateBySQL(String sql);
	public void updateBySQL(String sql, String[] param);
	public int updateBySQLWithResuInt(String sql, Object[] param);

	public Object getTBySQL(String sql, Class c);
	public List getListWithTypeBySQL(String sql,Object[] param, Class c);
	
	public PageBean getPageBean(final String select, final Object paramValues[], int pageId, final int pageSize);
}
